package com.hujiang.basic.search.model;

import com.alibaba.fastjson.JSONObject;
import com.google.common.collect.Lists;
import lombok.Data;

import java.util.List;
import java.util.UUID;


@Data
public class HJSearchResponse {
    private long totalHits;
    private JSONObject aggs;
    private List<HJSearchHit> hits = Lists.newArrayList();
    private int status;
    private String message;
    private String requestId = UUID.randomUUID().toString().replace("-","");
}
